package com.actionsky.entity;

import java.io.Serializable;

public class SearchResult implements Serializable{
	private static final long serialVersionUID = 1L;
	private int id;
	private int gid;	//rt实时索引中默认的gid,此处用来做为搜索条件(0.全部 1.内容 2.文档)
	private int weight;	//权重
	private String title;	//文章标题
	private String content;	//文章概述
	private String link;	//文章url
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getGid() {
		return gid;
	}
	public void setGid(int gid) {
		this.gid = gid;
	}
	public int getWeight() {
		return weight;
	}
	public void setWeight(int weight) {
		this.weight = weight;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getLink() {
		return link;
	}
	public void setLink(String link) {
		this.link = link;
	}
	public SearchResult() {
	}
}
